package io.renren.common.enums;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * @author sean
 * @since 2020-03-18
 *
 * 平安收入类型
 */
public enum PaMonthIncomeType implements IDictEnum<String> {

    LESS_THAN_3K("2", "低于3000"),

    LESS_THAN_4K("3", "3000-3999"),

    LESS_THAN_5K("4", "4000-4999"),

    LESS_THAN_10K("5", "5000-9999"),

    MORE_THAN_10K("10", "高于10000");

    private String code;

    private String description;

    PaMonthIncomeType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getType() {
        return "PA_MONTH_INCOME";
    }

    @Override
    public String getDescription() {
        return this.description;
    }

    @Override
    @JsonValue
    public String getValue() {
        return this.code;
    }
}
